#pragma once

#include <vector>
#include <map>
#include <algorithm>

int findOdd(std::vector<int> const & numbers){
	std::map<int,size_t> check;
	for( auto var : numbers ){
		check[var]++;
	}
	return std::find_if(check.cbegin(), check.cend(), [](std::pair<int, size_t> x){ return x.second % 2 == 1; })->first;
}
